
public class Ingredient {
	
	private String material;

	private Unit unit;
	
	public Ingredient()
	{
	material = "";	
	unit = new Unit();
	}
	
	public SIUnit getSIUnit()
	{
	return unit.toSIUnit();	
	}
	
	public Unit getUnit()
	{
		return unit;
	}
	
	public void setUnit(Unit un)
	{
		unit = un;
	}
	
	
	public String getMaterial()
	{
		return material;
	}
	
	public void setMaterial(String mat)
	{
		material = mat;
	}
	
	
}
